import request from '@/utils/request.js'

// 获取手机验证码
export function getCodeApi (data) {
  return request({
    url: '/sendsms',
    method: 'post',
    data
  })
}

// 注册
export function registered (data) {
  return request({
    url: '/register',
    method: 'post',
    data
  })
}
